﻿<Activity x:Class="MyTestWF.ServiceReference1.Activities.GetData" this:GetData.EndpointConfigurationName="BasicHttpBinding_IService1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:ms="clr-namespace:MyTestWF.ServiceReference1;assembly=MyTestWF, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" xmlns:ms1="clr-namespace:MyTestWF.ServiceReference1;assembly=MyTestWF" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="http://tempuri.org/" xmlns:p1="http://schemas.microsoft.com/netfx/2009/xaml/servicemodel" xmlns:this="clr-namespace:MyTestWF.ServiceReference1.Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="EndpointConfigurationName" Type="x:String" />
    <x:Property Name="value" Type="InArgument(x:Int32)">
      <x:Property.Attributes>
        <RequiredArgumentAttribute />
      </x:Property.Attributes>
    </x:Property>
    <x:Property Name="GetDataResult" Type="OutArgument(x:Int32)" />
  </x:Members>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
  <Sequence>
    <Sequence.Variables>
      <x:Reference>__ReferenceID1</x:Reference>
      <x:Reference>__ReferenceID2</x:Reference>
    </Sequence.Variables>
    <p1:Send x:Name="__ReferenceID0" Action="http://tempuri.org/IService1/GetData" OperationName="GetData" ServiceContractName="p:IService1">
      <p1:Send.CorrelationInitializers>
        <p1:RequestReplyCorrelationInitializer>
          <p1:RequestReplyCorrelationInitializer.CorrelationHandle>
            <InArgument x:TypeArguments="p1:CorrelationHandle">
              <VariableValue x:TypeArguments="p1:CorrelationHandle">
                <VariableValue.Variable>
                  <Variable x:TypeArguments="p1:CorrelationHandle" x:Name="__ReferenceID2" />
                </VariableValue.Variable>
              </VariableValue>
            </InArgument>
          </p1:RequestReplyCorrelationInitializer.CorrelationHandle>
        </p1:RequestReplyCorrelationInitializer>
      </p1:Send.CorrelationInitializers>
      <p1:Send.EndpointConfigurationName>
        <PropertyReference x:TypeArguments="x:String" PropertyName="EndpointConfigurationName" />
      </p1:Send.EndpointConfigurationName>
      <p1:SendMessageContent>
        <InArgument x:TypeArguments="ms1:GetDataRequest">[New MyTestWF.ServiceReference1.GetDataRequest() With { .value = value }]</InArgument>
      </p1:SendMessageContent>
    </p1:Send>
    <p1:ReceiveReply Request="{x:Reference __ReferenceID0}" Action="http://tempuri.org/IService1/GetDataResponse">
      <p1:ReceiveMessageContent>
        <OutArgument x:TypeArguments="ms1:GetDataResponse">
          <VariableReference x:TypeArguments="ms1:GetDataResponse">
            <VariableReference.Variable>
              <Variable x:TypeArguments="ms1:GetDataResponse" x:Name="__ReferenceID1" Name="tempResult" />
            </VariableReference.Variable>
          </VariableReference>
        </OutArgument>
      </p1:ReceiveMessageContent>
    </p1:ReceiveReply>
    <Assign>
      <Assign.To>
        <OutArgument x:TypeArguments="x:Int32">[GetDataResult]</OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="x:Int32">[tempResult.GetDataResult]</InArgument>
      </Assign.Value>
    </Assign>
  </Sequence>
</Activity>